﻿/**
 * Discription: 
 * File Name:   $ItemName$.cs
 * Author   :   陈小磊(Gtalk/Email:chenlei@hzexe.com)
 * Create Time: 2013/12/17 8:46:01
 * CLR Version: 4.0.30319.18052
 * File Identification: 60bb93d0-120b-4eae-a750-e14dbd46a632
 * Create by wpc\machinename in project named "$ProjectName$" 
 * =================================================
 * Modify Records
 *          
 * 
 * 
 * 
 * 
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hzexe.Wechat.SharpSDK.Message.Push
{
    /// <summary>
    /// 图文消息
    /// </summary>
    public class NewsMsg : Msg
    {
        public NewsMsg()
            : base(EnumPushType.news)
        { }
        /// <summary>
        /// 图文消息条数限制在10条以内，注意，如果图文数超过10，则将会无响应
        /// </summary>
        public Article[] articles { get; set; }
    }


    /// <summary>
    /// 推送的图文消息
    /// </summary>
    public class Article
    {
        /// <summary>
        /// 图文标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 图文描述
        /// </summary>
        public string description { get; set; }
        /// <summary>
        /// 图片链接，支持JPG、PNG格式，较好的效果为大图640*320，小图80*80。 
        /// </summary>
        public string picurl { get; set; }
        /// <summary>
        /// 点击图文消息跳转链接 
        /// </summary>
        public string url { get; set; }
    }


}
